package com.wanbangee.marksystem.service;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 提供给其他服务调用的接口
 * @author yongcode
 *
 */
@FeignClient(value="kaoJinBang-userCenter-provider")
public interface UserCenterService {
	
	/**
	 * 根据年级ID查询班级信息
	 * @param schId
	 * @param graId
	 * @return
	 */
	@GetMapping("/classManage/selectClassInfoByGraId")
	public Map<String, Object> selectClassInfoByGraId(@RequestParam(value="graId") Integer graId);
	/**
	 * 查询含有作文的科目：模糊查询语文和英语的科目信息
	 * @return
	 */
	@GetMapping("selectSubjectBySubNm")
	public Map<String, Object> selectSubjectBySubNm();
}
